<template>
  <div class="hello">
    <p>欢迎{{username}}</p>
    <input type="text" v-model="username">
  </div>
</template>

<script>
export default {
    data() {
        return {
            username: 'xiaofang'
        }
    }
}
</script>

<style>
.hello {
    width: 80%;
    height: 80px;
    margin: 15px auto;
    background: #ff0;
    color: #000;
}
</style>